<template>
  <div class="card" :style="styleCss">

    <img v-if="!!imgSrc" :src="imgSrc" class="card-img-top" alt="">
    <div class="card-body">
      <h5 class="card-title">
        <slot name="card-title"></slot>
      </h5>
      <p class="card-text">
        <slot name="card-text"></slot>
      </p>
      <slot></slot>
    </div>
  </div>
</template>
<script>
export default {
  props: {
    imgSrc: {
      type: String,
      default: '',
    },
    styleCss: {
      type: String | Object,
      default: '',
    },
  }
}
</script>